<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>后台头部</title>
		<link rel="stylesheet" type="text/css" href="{$webSite}public/css/base.css"/>
	</head>
	
	<style>

		
		.a_head{
			/* width:1200px; */
			width:100%;
			margin:0 auto;
			
		}
		/*******	顶部 a_head_top	***********/
		.a_head_top{
			/* width:1200px; */
			width:100%;
			height:120px;
			background:#E4EEF8;
			position:fixed;
			top:0px;
			left:50%-600px;
		}
		.a_head_top_left{
			width:160px;
			height:118px;
			float:left;
			border-bottom:2px #fff solid;
		}
		.a_head_top_left img{
			margin-top:15px;
			margin-left:15px;
			
		}
		.a_head_top_right{
			/* width:1040px; */
			width:88%;
			height:120px;
			float:left;
		}
		.a_head_top_right a{
			color:blue;
		}
		.a_head_top_right_1{
			/* width:1040px; */
			width:100%;
			height:45px;
			float:left;
		}
		.a_head_top_right_1 div {
			width:300px;
			height:45px;
			float:right;
			line-height:45px;
			margin-right:20px;
		}

		.a_head_top_right_1 div span{
			font-weight:bold;
			
		}
		.a_head_top_right_1 div button{
			width:70px;
			height:25px;
			
		}
		.a_head_top_right_2{
			/* width:1040px; */
			width:100%;
			height:65px;
			border-bottom:8px #09c solid;
			float:left;
		}
		.a_head_top_right_2 div{
			width:100px;
			height:55px;
			float:left;		
			margin-top:10px;
			text-align:center;
			line-height:55px;
			border-radius:8px  8px 0px 0px;
			font-size:16px;
			font-weight:bold;
			color:#639BC0;

		}
		.a_head_top_right_2 div:hover{
			background:#09c;
			color:#fff;
		}
		.a_head_top_right_2 .border{
			width:1px;
			height:16px;
			background:#C9DDE7;
			margin-top:30px;
		}
		/*******	主体内容body	***********/
		.a_head_body{
			/* width:1200px; */
			width:100%;
			min-height:750px;
			border-top:2px #B5CFD9 solid;
			
		}
		/*******	主体导航栏  a_head_nav 	**********/
		
		.a_head_nav{
			width:158px;
			min-height:640px;
			float:left;
			background:#F2F9FD;
			border-right:2px #B5CFD9 solid;
			position:fixed;
			top:120px;
			left:50%-600px;
		}
		.a_head_nav_div{
			width:158px;
			height:25px;
			padding-top:10px;
			border-bottom:1px solid #C9DDE7;

		}
		.a_head_nav_div:hover{
			color:#639BC0;
			background:#DEEFFA;
		}
		.a_head_nav_ul{
			width:135px;
			height:60px;
			border-top:dashed #639BC0 1px;
			position:fixed;
			top:600px;
			left:10px;
		}
		.a_head_nav_ul li a {
			
			color:blue;
		}
		a:hover{
			color:orange;
		}
		/*******	主体导航栏  a_head_main 	**********/
		
	</style>

	<body>

		
		<div class="a_head">
			<!-- 公共顶部 a_head_top -->
			<div class="a_head_top clearFix">
				<div class="a_head_top_left">
					<a href="">
						<img src="{$webSite}public/images/admin_1.png" >
					</a>
				</div>

				<div class="a_head_top_right">
					<div class="a_head_top_right_1 clearFix">
						<div>
							你好，管理员&nbsp;<span>{$admin}</span>&nbsp;
							[<a href="{$webSite}admin/admin/admin_loginout.php">退出</a>]&nbsp;
							<a href="{$webSite}index.php">
								<button>站点首页</button>
							</a>
						</div>
					</div>
					<div class="a_head_top_right_2">
						
						<a href="{$webSite}admin_index.php?big=1&number=11">
							<div class="">站点管理</div>
						</a>

						<div class="border"></div>

						<a href="{$webSite}admin_index.php?big=2&number=21">
							<div class="">用户管理</div>
						</a>

						<div class="border"></div>

						<a href="{$webSite}admin_index.php?big=3&number=31">
							<div class="">版块管理</div>
						</a>

						<div class="border"></div>

						<a href="{$webSite}admin_index.php?big=4&number=41">
							<div class="">帖子管理</div>
						</a>
						<div class="border"></div>
					</div>
				</div>
			</div>
			<!--  主体内容  a_head_body -->
			<div class="a_head_body clearFix">
				<!-- 导航栏  a_head_nav -->
				<div class="a_head_nav">
					
					<!-- 站点管理 (默认页面,即当big为空时) -->
					{if $big == 1 || !$big}
					<a href="{$webSite}admin_index.php?big=1&number=11">
						<div class="a_head_nav_div">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;站点信息</div>
					</a>

					<a href="{$webSite}admin_index.php?big=1&number=12">
						<div class="a_head_nav_div">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;友情链接</div>
					</a>

					<a href="{$webSite}admin_index.php?big=1&number=13">
						<div class="a_head_nav_div">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;链接回收站</div>
					</a>
					
					{/if}

					<!-- 用户管理 -->
					{if $big == 2}
					<a href="{$webSite}admin_index.php?big=2&number=21">
						<div class="a_head_nav_div">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;编辑用户</div>
					</a>

					<a href="{$webSite}admin_index.php?big=2&number=22">
						<div class="a_head_nav_div">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用户回收站</div>
					</a>

					<a href="{$webSite}admin_index.php?big=2&number=23">
						<div class="a_head_nav_div">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;禁止IP</div>
					</a>
					
					{/if}

					<!-- 版块管理 -->
					{if $big == 3}
					<a href="{$webSite}admin_index.php?big=3&number=31">
						<div class="a_head_nav_div">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;管理版块</div>
					</a>
					
					<a href="{$webSite}admin_index.php?big=3&number=32">
						<div class="a_head_nav_div">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;版块回收站</div>
					</a>

					<a href="{$webSite}admin_index.php?big=3&number=33">
						<div class="a_head_nav_div">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;添加版块</div>
					</a>
						
					{/if}

					<!-- 帖子管理 -->
					{if $big == 4}
					<a href="{$webSite}admin_index.php?big=4&number=41">
						<div class="a_head_nav_div">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;帖子管理</div>
					</a>
					<a href="{$webSite}admin_index.php?big=4&number=42">
						<div class="a_head_nav_div">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;帖子回收站</div>
					</a>
					<a href="{$webSite}admin_index.php?big=4&number=43">
						<div class="a_head_nav_div">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;回帖管理</div>
					</a>
					<a href="{$webSite}admin_index.php?big=4&number=44">
						<div class="a_head_nav_div">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;回帖回收站</div>
					</a>
					{/if}

					<!-- 左边导航栏底部的链接 -->
					<ul class="a_head_nav_ul">
						
						<li>&nbsp;
							Powered by
							 <a href="">phpxy</a> 
							 v2
						</li>
						<li>&nbsp;
							&copy; 2012, 
							<a href="">phpxy Inc</a>
						</li>
					</ul>
				</div>

			<!-- 	以下是关于左边导航的a链接跳转页面  -->
				
				<!-- 站点管理 (默认页面,即当big为空时)-->
				{if $big == 1 || !$big}
						
					{if $number == 11 || !$number}

						 <!-- 站点信息 (默认页面) -->
						{include admin_site1.html}
					
					{else if $number == 12}
					
						<!-- 友情链接 -->
						{include admin_site2.html}	

					{else if $number == 13}
					
						<!-- 友情链接 -->
						{include admin_site3.html}						
					{/if}
				{/if}	

				<!-- 用户管理 -->
				{if $big == 2}
					{if $number == 21 || !$number}

						<!--  编辑用户 (默认页面)  -->
						{include admin_user1.html}

					{else if $number == 22}

						<!-- 禁止 IP -->
						{include admin_user2.html}

					{else if $number == 23}
						
						<!-- 用户回收站 -->
						{include admin_user3.html}
						
					{else if $number == 24}

						<!-- 用户详情页 -->
						{include admin_user_detail.html}
					
					{/if}
				{/if}

				<!-- 版块管理 -->
				{if $big == 3}
					
					{if $number == 31 || !$number}
						
						<!-- 管理版块  (默认页面) -->
						{include admin_category1.html}
					
					{else if $number == 32}
						
						<!-- 版块回收站 -->
						{include admin_category2.html}

					{else if $number == 33}
						
						<!-- 添加版块 -->
						{include admin_category3.html}

					{/if}
				{/if}
				
				<!-- 帖子管理 -->
				{if $big == 4}
					{if $number == 41 || !$number}
						
						<!-- 帖子管理  (默认页面) -->	
						{include admin_detail1.html}

					{else if $number == 42}
						
						<!-- 帖子回收站 -->
						{include admin_detail2.html}

					{else if $number == 43}
					
						<!-- 回帖管理 -->
						{include admin_detail3.html}

					{else if $number == 44}
						
						<!-- 回帖回收站 -->
						{include admin_detail4.html}
					{/if}
				{/if}
				

			</div>
			
		</div>
	</body>
</html>